package com.gjintel.business.proj.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_proj_pause")
public class ProjectPause {
	
	private String id;
	private String projectId;//项目id 
	private Date pauseTime; //暂停申请时间
	private Date restoreTime;// 恢复时间  
	private String requestId;//请求人id
	private String auditorId; //审核人Id
	private String reason;//暂停原因
	private String replay;//申请批复
	private String category;//暂停类型 0:竞价公示内暂停 1：中标公示内暂停
	private String result;//1：通过 2：不通过
	private String fileId;//附件Id
	private String flowReason;//流标原因
	private String revokeReason;//项目撤销原因
	private String budgetMenuData;
	
	
	@Id
	@GeneratedValue(generator = "UIDGenerator")
	@GenericGenerator(name = "UIDGenerator", strategy = "org.hibernate.id.UUIDHexGenerator")
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name="proj_id")
	public String getProjectId() {
		return projectId;
	}
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
	
	@Column(name="pause_time")
	public Date getPauseTime() {
		return pauseTime;
	}
	public void setPauseTime(Date pauseTime) {
		this.pauseTime = pauseTime;
	}
	
	@Column(name="restore_time")
	public Date getRestoreTime() {
		return restoreTime;
	}
	public void setRestoreTime(Date restoreTime) {
		this.restoreTime = restoreTime;
	}
	
	@Column(name="requester_id")
	public String getRequestId() {
		return requestId;
	}
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}
	
	@Column(name="auditor_id")
	public String getAuditorId() {
		return auditorId;
	}
	public void setAuditorId(String auditorId) {
		this.auditorId = auditorId;
	}
	
	@Column(name="reason")
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	
	@Column(name="replay")
	public String getReplay() {
		return replay;
	}
	public void setReplay(String replay) {
		this.replay = replay;
	}
	
	@Column(name="category")
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	
	@Column(name="result")
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	
	@Transient
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	
	@Column(name="flowReason")
	public String getFlowReason() {
		return flowReason;
	}
	public void setFlowReason(String flowReason) {
		this.flowReason = flowReason;
	}
	
	@Column(name="revokeReason")
	public String getRevokeReason() {
		return revokeReason;
	}
	public void setRevokeReason(String revokeReason) {
		this.revokeReason = revokeReason;
	}
	@Transient
	public String getBudgetMenuData() {
		return budgetMenuData;
	}
	public void setBudgetMenuData(String budgetMenuData) {
		this.budgetMenuData = budgetMenuData;
	}


}
